import request from '@/utils/request'

export const jsonService = (config) => {
	return request({
		url: config.url,
		method: 'post',
		headers: {
			'Content-Type': "application/json;charset=utf-8"
		},
		data: JSON.stringify(config.data)
	})
}